#ifndef _SDL_H_
#define _SDL_H_

#include "ctype.h"

#define  MAX_MODULE_NUMBER	255
#define  MAX_BLOCK_NUMBER	255

int OpenSdlFile(char *filename);
unsigned int FileDataRead(char* pBuf, unsigned long offset, unsigned long length);
int CloseSdlFile();
unsigned long GetFileLength();
int FileStructInit(void);
void DelDLDII(void);
int GetDiiDataInfo(unsigned long *dwStartAddr, unsigned short *dwSize);
int GetDdbDataInfo(unsigned short wModuleId, unsigned short mBlockNumber, unsigned long *dwStartAddr, unsigned short *dwSize);

#endif